package model.Sensor;

import model.Equipment;
import model.House;
import model.ModelClass;

public class MainMindThread {
ModelClass modelClass;
/*
Aktuator aktuator;
Sensor sensor;
*/
	public MainMindThread(ModelClass modelClass){
		this.modelClass = modelClass;

		//this.aktuator = new Aktuator();
		//this.sensor = new Sensor();
	}
	public int getLight(){
	/*
		return sensor.getLight();
		*/
		return 0;
	}
	public void configHouse(House house){
	/*
		for(Equipment eQ : house.getEquipments()){
			if(eQ.getName().equals("Windows")){
				if(eQ.isOnOff()){
					
					aktuator.openWindow();
					
				}else{
					aktuator.closeWindow();
				}
			}
			
		}
		
		sensor.setAlarm(house.isAlarm());
		System.out.println(house.getSectionByName("Section 1").getEmpty());
		if(house.getSectionByName("Section 1").getEmpty()){
			aktuator.discardPlant();
		}else{
			aktuator.plantPlant();
		}
		
*/
	}
	
	
}
